//
//  API.h
//  ZDSC
//
//  Created by ZDTX on 2021/6/20.
//

#ifndef API_h
#define API_h

// *****************开发环境 *****************

// 测试环境
#define  kDevelopServiceBaseUrl                                @"http://111.22.13.139:9900"
// 本地环境(郭彬)
//#define  kDevelopServiceBaseUrl                              @"http://192.168.16.75:9800"
// 本地环境(易毅)
//#define  kDevelopServiceBaseUrl                              @"http://192.168.16.105:9900"
// 本地环境(邹勇)
//#define  kDevelopServiceBaseUrl                              @"http://192.168.16.43:8811"
// 正式环境
#define  kReleaseServiceBaseUrl                                 @"http://111.8.51.194:8002"


// *****************公共模块 *****************
/// 苹果动态获取地址
#define  Common_POST_GetEnvironment                         @"getEnvironment"
// 检测版本更新
#define  Common_Get_VersionManager                         @"app/versionManagement/apk/listIOS"
// 单文件上传
#define  Common_Post_Upload                                    @"fs/upload"
// 多文件上传
#define  Common_Post_Uploads                                   @"fs/uploads"
// 教师树
#define  Common_Get_QueryTearcher                              @"scopeTree/queryTearcher"
// 家长树
#define  Common_Get_QueryParent                                @"spTree/getStuParent"
// 学生树
#define  Common_Get_QueryStudent                               @"stuTree/getStudent"
// 获取学期列表
#define  Common_Get_QuerySemesterList                          @"common/querySemesterList"
// 获取课程列表
#define  Common_Get_QueryCourseList                            @"common/queryCourseList"
// 根据年级获取班级列表
#define  Common_Post_QueryClassListByGrade                     @"common/queryClassListByGrade"
// 获取班级列表
#define  Common_Get_QueryClassList                             @"common/queryClassList"
// 获取年级列表
#define  Common_Get_QueryGradeList                             @"common/queryGradeList"
// 获取课程管理
#define  Common_Post_AllCourseList                           @"app/tcScheduleManage/allList"

// (获取学科列表)听评课
#define  Common_Get_QuerySubjectList                          @"common/querySubjectList"
//(获取类型列表)听评课
#define  Common_Get_QueryListenClassTypeList                  @"common/queryListenClassTypeList"

// *****************登录模块 *****************


// 登录
#define  Login_POST_Login                                      @"login"
// 获取用户信息
#define  Login_GET_userInfo                                    @"getInfo"
// 获取用户类型
#define  Login_GET_userType                                    @"teacherOrStudent/getUserType"
// 个推 保存客户端和角色的关联信息
#define  Login_GET_GTClientInfo                                  @"app/offMsg/addClient"

// *****************消息模块 *****************

// 消息列表
#define  Message_Post_MessageList                              @"app/busAppMsg/list"
//删除消息
#define  Message_Post_MessageDelete                            @"app/busAppMsg/delete"
// 值班记录列表
#define  Message_Post_GetDutyList                          @"app/busAppMsg/getDutyList"
// 巡堂异议列表
#define  Message_Post_GetCheckExceptList                    @"app/busAppMsg/getCheckExceptList"
// 获取考勤消息列表
#define  Message_Post_GetWorkList                   @"app/busAppMsg/getWorkList"
// 检察任务有没有完成
#define  Message_Post_CheckTaskIsDone           @"app/teacherLeave/checkTaskIsDone"


// 评教评学已读未读
#define  Message_Post_GetTeachLearningFlag                 @"app/evalution/getIOSEvalFlag"
// *****************日程模块 *****************
// 日程日期查询
#define  Schedule_Post_ScheduleTime                            @"app/tcScheduleManage/getScheduleTimeIOS"
// 日程管理查询
#define  Schedule_Post_AppSchedule                             @"app/tcScheduleManage/getAppSchedule"
// *****************首页模块 *****************

//轮播图
#define  Home_Get_QueryPics                                    @"app/index/queryPics"
//新闻/公告列表
#define  Home_Post_QueryNoticeList                             @"app/index/queryNoticeList"
// 新闻/公告详情
#define  Home_Post_QueryNoticeDetail                           @"app/index/queryNoticeById"




// *****************应用模块 *****************
//智慧门户 ------------------ 新闻/公告
#define  Appliance_Post_NewBulletinList                         @"app/busNotice/listByPage"
//        - 新闻/公告/通知详情
#define  Appliance_Post_NewBulletinDetail                       @"app/busNotice/getDetailById"

//   通知/周历列表 (我收到的)
#define  Appliance_Post_NoticeCalendarList                      @"app/busNotice/queryRcvList"
//   通知/周历列表 (我发出的)
#define  Appliance_Post_NoticeSendList                          @"app/busNotice/querySendList"
// 通知/周历详情
#define  Appliance_Post_NoticeCalendarDetail                    @"app/busNotice/queryNoticeById"
// 通知/周历-点击阅读
#define  Appliance_Post_UpdateReadFlag                          @"app/busNotice/updateReadFlag"

//已读/未读列表
#define  Appliance_Post_QueryReadList                           @"app/busNotice/queryReadList"
// 发布通知
#define  Appliance_Post_PublishNotice                           @"busNotice/add"


//智慧管理 ------------------
//  值班记录
#define  Appliance_Post_DutyRecord                               @"app/dutyPlansRecord/teacherList"
// 值班报告 (教师)
#define  Appliance_Post_DutyBulletin                             @"app/dutyPlansRecord/teacherReportList"

// 值班报告 & 值班记录 详情
#define  Appliance_Post_DutyBulletinDeatil                      @"app/dutyPlansRecord/teacherRecordReport"

// 生成值班报告
#define  Appliance_Post_DutyBulletinCreatePDF                  @"app/dutyPlansRecord/createPDF"
// 修改值班报告
#define  Appliance_Post_EditReport                            @"app/dutyPlansRecord/editReport"
// 修改操作状态
#define  Appliance_Post_updateOperateStatus                    @"app/dutyPlansRecord/updateOperateStatus"
// 查询操作状态
#define  Appliance_Post_GetOperateStatus            @"app/dutyPlansRecord/getOperateStatus"


// 选课报名列表
#define  Appliance_Get_CourseRegistrationList                  @"app/busTcEnroll/listByPage"
// 选课报名详情
#define  Appliance_Get_CourseRegistrationDetail               @"app/busTcEnroll/getBusTcClassPlanById"
// 得到我的学生
#define  Appliance_Get_getMyStudents                           @"app/busTcEnroll/getMyStudents"



//查询当前月的授课记录
#define  Appliance_Post_LectureRecord                 @"app/teachReport/queryMonthReportByCheckDate"
//根据日期查询当天的授课情况
#define  Appliance_Post_QueryReportByDay               @"app/teachReport/queryReportByDay"
// 处理异常 查看详情
#define  Appliance_Post_getDetailById                @"app/teachReport/getDetailById"
// 处理异常  保存
#define  Appliance_Post_updateExceptContent         @"app/teachReport/updateExceptContent"
// 授课记录统计
#define  Appliance_Post_queryAppCheckStaById         @"app/teachReport/queryAppCheckStatisticsById"

// 巡堂统计
#define  Appliance_Post_TourStatistics                    @"app/busTcCheck/queryCheckStatistics"
// 巡堂记录
#define  Appliance_Post_TourRecord                         @"app/busTcCheck/listByPage"
// 修改巡堂记录 标记 &异常
#define  Appliance_Post_modifyTourRecord                    @"app/busTcCheck/updateBusTcCheck"

// 学生/教师 考勤记录列表
#define  Appliance_Post_AttendanceRecordTeacherList          @"app/attendanceRecord/teacherList"
// 学生/教师 考勤记录统计
#define  Appliance_Post_AttendanceRecord                    @"app/attendanceRecord/teacherRecord"

// 我收到的请假条
#define  Appliance_Post_QueryRcvLeaveList       @"app/leaveRecord/queryRcvLeaveList"
// 我提交的请假条
#define  Appliance_Post_QuerySendLeaveList      @"app/leaveRecord/querySendLeaveList"
// 请教详情
#define  Appliance_Post_QueryDetailById       @"app/leaveRecord/queryDetailById"
// 教师端请假
#define  Appliance_Post_AddLeaveByTeacher      @"app/leaveRecord/addLeaveByTeacher"

// 学生月考勤统计列表
#define  Appliance_Post_AttendanceTeacherMonthList      @"app/attendanceRecord/teacherMonthList"
// 学生考勤日历
#define  Appliance_Post_AttendanceCalendarData       @"app/attendanceRecord/teacherDayListIOS"
// 年级考勤统计列表
#define  Appliance_Post_GradeAttendanceCensus        @"app/attendanceRecord/gradeAttendanceCensus"
// 班级考勤列表
#define  Appliance_Post_ClassAttendanceCensus       @"app/attendanceRecord/classAttendanceCensus"
// 修改考勤状态
#define  Appliance_Post_UpdateAttendanceStatus      @"app/attendanceRecord/updateAttendanceStatus"

// 老师就餐日历
#define  Appliance_Post_TeacherDinerCalendaer  @"app/busTeacherEat/queryEatTimeByMonthApp"
// 教师就餐列表
#define  Appliance_Post_TeacherDinerList   @"app/busTeacherEat/queryEatTimeByApp"
// 就餐统计列表
#define  Appliance_Post_StatisticsListByApp  @"app/busTeacherEat/statisticsListByApp"





//智慧教学------------------
// 评价评学
#define  Appliance_Post_TeachLearningList          @"app/evalution/listByPage"
// 评价评学详情
#define  Appliance_Post_TeachLearningPaper       @"app/evalution/getEvalutionById"
// 提交答案
#define  Appliance_Post_AddAnswer                  @"app/evalution/add"
// 获取保存后的数据
#define  Appliance_Post_GetDetailBySaved           @"app/evalution/getDetailBySaved"
// 获取已读未读列表
#define  Appliance_Post_QueryCheckList             @"app/evalution/queryCheckList"

// 听评课列表
#define  Appliance_Post_TeachAttendanceList            @"app/listenClass/listByPage"
// 听评课详情
#define  Appliance_Post_TeachAttendanceDetail      @"app/listenClass/getListenClassById"
// 判断当前用户是否有评价
#define  Appliance_Post_TeachAttendanccGetEvalFlag     @"app/listenClass/getEvalFlag"
// 评分(未评价)
#define  Appliance_Post_TeachAttendanccGetSchemaListById     @"app/listenClass/getSchemaListById"
// 评价
#define  Appliance_Post_TeachAttendanccAddEvalution     @"app/listenClass/addEvalution"
// 跳转到评价详情页
#define  Appliance_Post_TeachGetSchemaListBySaved   @"app/listenClass/getSchemaListBySaved"
// 评价列表
#define  Appliance_Post_EvalutionList     @"app/listenClass/listenClassEvaluationListByPage"
// 根据评价id获取评价详情
#define  Appliance_Post_GetEvaluteDetailById      @"app/listenClass/getEvaluteDetailById"

/*  *************教师考勤************* */
// 请假申请 -获取部门列表
#define  Appliance_Get_DeptList                    @"activiti/common/getDeptList"
// 请假申请 -根据部门id获取岗位列表
#define  Appliance_Get_PostList                 @"activiti/common/getPostList"
// 请假申请 -获取请假类型下拉框列表
#define  Appliance_Get_LeaveTypeList           @"activiti/common/getLeaveTypeList"
// 请假申请 -获取流程节点以及相关参数
#define  Appliance_Post_ProcessList    @"app/teacherLeave/getProcessList"
// 请假申请 -获取审批人列表
#define  Appliance_Post_UserListByNodeId     @"app/teacherLeave/getUserListByNodeId"
// 请假申请 - 新增
#define  Appliance_Post_TeacherLeaveAdd     @"app/teacherLeave/add"
// 我收到的-待处理-列表查询
#define  Appliance_Post_MyTodoTaskList      @"app/teacherLeave/myTodoTaskList"
// 我收到的-待处理-获取流程图
#define  Appliance_Post_EditHistory     @"app/teacherLeave/editHistory"
// 我提交的-查看审批记录（通用）
#define  Appliance_Post_History     @"app/teacherLeave/history"
// 我收到的-待处理-处理待办任务
#define  Appliance_Post_DoTask      @"app/teacherLeave/doTask"
// 我提交的-列表查询
#define  Appliance_Post_MyLeaveList       @"app/teacherLeave/myLeaveList"
// 获取请假详情（通用）
#define  Appliance_Post_GetInfo     @"app/teacherLeave/getInfo"
// 我收到的-已处理-列表查询
#define  Appliance_Post_GetMyDoneList    @"app/teacherLeave/getMyDoneList"
// 撤销请假申请
#define  Appliance_Post_CancleTask    @"app/teacherLeave/cancleTask"


// 我收到的-抄送
#define  Appliance_Post_CopyToMe  @"app/teacherLeave/getCopyToMe"


#define  Appliance_Post_MyReceiveList   @"app/teacherLeave/getMyReceiveList"

// 考勤记录-苹果端教师月考勤
#define  Appliance_Post_TeacherMonthListIOS    @"app/tchAttendanceRecord/teacherMonthListIOS"
// 考勤记录-教师天考勤记录
#define  Appliance_Post_TeacherDayRecord    @"app/tchAttendanceRecord/teacherDayRecord"
// 考勤统计-教师月考勤统计
#define  Appliance_Post_TeacherMonthAttendance    @"app/tchAttendanceRecord/teacherMonthAttendance"


// 学校考勤统计-学校天考勤统计
#define  Appliance_Post_TeacherDayCensus    @"app/tchAttendanceRecord/teacherDayCensus"
// 学校考勤统计-考勤汇总
#define  Appliance_Post_TeacherMonthCensus  @"app/tchAttendanceRecord/teacherMonthCensus"
//学校考勤统计-考勤详细
#define  Appliance_Post_TeacherMonthStatusCensus    @"app/tchAttendanceRecord/teacherMonthStatusCensus"
// 学校考勤统计-个人考勤明细
#define  Appliance_Post_TeacherAttendanceInfo   @"app/tchAttendanceRecord/teacherAttendanceInfo"
//考勤统计/记录 - 岗位下拉框
#define  Appliance_Post_TchOptionSelect   @"post/tchOptionSelect"
// 学校考勤统计-导出excel
#define  Appliance_Post_AppAttendanceExport    @"app/tchAttendanceRecord/appAttendanceExport"

//智慧教育------------------

// 成长档案列表
#define  Appliance_Post_GrowthFileList            @"app/studentGrowReport/listByPage"
// 根据班级ID 查询班级学生
#define  Appliance_Post_GrowthQueryStuList        @"app/studentGrowReport/queryStuList"
// 教师发布成长记录
#define  Appliance_Post_AddGrowthReport           @"app/studentGrowReport/addReport"
// 成长档案详情
#define  Appliance_Post_GrowthDetail              @"app/studentGrowReport/info"
// 删除成长档案
#define  Appliance_Post_GrowthDelete               @"app/studentGrowReport/delete"
// 家长获取学生信息(家长端)
#define  Appliance_Post_StuListByParent          @"app/studentGrowReport/getStuListByParent"


//智慧资源------------------
//  公共资源
// 增加文件夹
#define  Appliance_Post_AddPublicFolder                 @"app/publicFolder/addFolder"
// 增加文件
#define  Appliance_Post_AddPublicFile              @"app/publicFolder/addFile"
// 根据层级查看文件或者文件夹 - 公共资源
#define  Appliance_Post_publicFolderOrFileByLevel         @"app/publicFolder/list"

// 个人资源
// 增加文件夹
#define  Appliance_Post_AddPersonFolder                 @"app/personFolder/addFolder"
// 增加文件
#define  Appliance_Post_AddPersonFile                  @"app/personFolder/addFile"
//  根据层级查看文件或者文件夹 - 个人资源
#define  Appliance_Post_personFolderOrFileByLevel        @"app/personFolder/list"
// 修改文件或者文件夹
#define  Appliance_Post_UpdatePersonFolderOrFile         @"app/personFolder/update"


// *****************我的模块 *****************
// 个人信息
#define  Profile_Get_GetMyInfo                             @"app/my/getMyInfo"
// 当前用户的所有角色
#define  Profile_Get_RoleNames                            @"app/my/getRoleNames"
// 应用菜单栏
#define  Profile_Post_Menu                           @"app/my/changeRole"
// 修改姓名&联系方式&密码&人脸录入
#define  Profile_Post_ModifyUserInfo                       @"app/my/myInfoSubmit"
// 学生管理
#define  Profile_Post_StudentManagement                    @"app/my/getStudentInfo"
// 学生管理- 人脸录入
#define  Profile_Post_AddStudentCustomize                  @"app/my/addStudentCustomize"

//版本数据列表查询
#define  Profile_Get_VersionManagement               @"versionManagement/apk/list"

// *****************家长端 *****************

// 值班报告(家长端)
#define  Appliance_Post_DutyBulletinParent                     @"app/dutyPlansRecord/parentList"

// 学生管理(完善更多信息)(家长端)
#define  Appliance_POST_CompleteBasicInfo                     @"app/my/getStduentDetail"

#define  Appliance_POST_UpdateStudentByParent    @"app/my/updateStudentByParent"


// 值班报告详情(家长端)
#define  Appliance_Post_DutyBulletinParentDeatil           @"app/dutyPlansRecord/parentRecordReport"

// 根据家长查询学生
#define  Appliance_Get_QueryStudentList              @"app/leaveRecord/queryStudentList"
// 家长端请假
#define  Appliance_Post_AddLeaveByParent                @"app/leaveRecord/add"

// 选课报名
#define  Appliance_Post_EnrollIng                              @"app/busTcEnroll/enrollIng"
// 选课取消报名
#define  Appliance_Post_CancelEnroll                           @"app/busTcEnroll/cancelEnroll"

// 选课报名列表
#define  Appliance_Get_ParentRegistrationList   @"app/busTcEnroll/getMyBusTcEnrollByStudentIdForPage"



#endif /* API_h */
